<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
    <script>
        var _hmt = _hmt || [];
        (function() {
              var hm = document.createElement("script");
              hm.src = "https://hm.baidu.com/hm.js?3cdc170c6aabb772e3308149406be6fd";
              var s = document.getElementsByTagName("script")[0];
              s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <link rel="icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../css/bootstrap-zscool.css"/>
    <link rel="stylesheet" href="../css/animate.css">


    <title>zscool博客</title>
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <!--小屏幕导航按钮和logo-->
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="../index.html" class="navbar-brand">zscool博客</a>
        </div>
        <!--小屏幕导航按钮和logo-->
        <!--导航-->
        <div class="navbar-collapse collapse">
            <form class="navbar-form navbar-left navbar-from-top">
                <div class="form-group">
                    <input type="text" class="form-control input-sm" placeholder="请输入要查询的关键字">
                </div>
                <button type="submit" class="btn btn-default btn-sm" style="color: white; background: #40D2B1;">搜索</button>
            </form>

            <ul class="nav navbar-nav navbar-right">

                <li><a href="index.html">首页</a></li>
                <li><a href="../html/about_me.html">关于</a></li>

                <li class="user_login_in_hidden"><a href="login_sign.html">注册</a></li>
                <li class="user_login_in_hidden"><a href="login.html">登录</a></li>
                <!-- <li style="display :none;"><a href="">张三</a></li>
                <li style="display :none;"><a href="">退出</a></li> -->
                <li class="dropdown user_login_on" style="display: none" >
                    <a href="#" class="dropdown-toggle " data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" ><span class="user_login_on_a"></span><span class="caret"></span></a>
                    <ul class="dropdown-menu" >
                        <li><a href="personal_center.html">个人中心</a></li>
                        <li><a href="#">建设中</a></li>
                        <li><a href="#">建设中</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a href="#" class="login_out">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <!--导航-->

    </div>
</nav>
<!--导航结束-->



<div class="container" style="margin-top: 80px;">
    <div class="row">
        <div class="col-md-3 wow pulse">
            <img src="../images/touxiang.jpg" alt="..." class="img-circle img-responsive center-block">
            <div class="list-group">
                <a href="./personal_center.html" class="list-group-item active">个人中心</a>
                <a href="./my_article.html" class="list-group-item">我的文章</a>
                <a href="./write_article.html" class="list-group-item">发表文章</a>
                <a href="./change_password.html" class="list-group-item">修改密码</a>
                <a href="./money.html" target="_blank" class="list-group-item">投资统计</a>
            </div>
        </div>

        <div class="col-md-9 wow shake">
            <div class="panel panel-default">
                <div class="panel-heading">个人信息</div>

                <div class="panel-body">
                    <table class="table">
                        <tr>
                            <th>昵称：</th>
                            <td id="user_nick_name"></td>
                            <th>性别：</th>
                            <td id="user_sex"></td>
                        </tr>
                        <tr>
                            <th>电话：</th>
                            <td id="user_mobile"></td>

                            <th>地址：</th>
                            <td id="user_address"></td>
                        </tr>
                        <tr>
                            <th>邮箱：</th>
                            <td id="user_email"></td>
                            <th></th>
                            <td><button class="btn btn-default" type="submit" id="user_email_active">验证邮箱</button></td>
                        </tr>
                        <!--<tr>-->
                            <!--<th><button class="" type="submit">验证邮箱</button></th>-->
                        <!--</tr>-->

                    </table>
                    <a href="./edit_data.html" class="btn btn-default btn btn-default us-box-background-color">修改资料</a>

                </div>
            </div>

            <div class="panel panel-default">
                <div class="panel-heading">修改头像</div>
                <div class="edit_image_center">
                    <div style="position: relative;border: 5px solid lightblue;width: 150px;height:150px;margin: 5px auto;border-radius: 50%;">
                        <img src="../images/touxiang.jpg" alt="选择并上传头像" id="avatar_img"
                             style="width: 140px;height: 140px;left:0;top: 0;border-radius: 50%;"/>
                        <input type="file" id="avatar_file" name="avatar_file"
                               accept="image/jpg,image/png,image/gif"
                               style="width: 100%;height:100%;opacity: 0;position: absolute;left:0;top: 0;"/>
                    </div>
                    <button type="submit" class="btn btn-default us-box-background-color">提交</button>
                </div>
            </div>
        </div>
    </div><!--row-->

</div><!-- /.container -->


<!-- 回到顶部 -->
<button class="back_to_top"><span class="glyphicon glyphicon-chevron-up" style="font-size: 25px;"></span></button>

<!-- 背景 -->
<div class="login_bg"></div>



<!-- 页脚 版权声明 -->
<footer class="blog-footer">
    <p>个人版权所有,转载请注明出处！</p>
    <p> 工信部备案号： <a href="http://www.miitbeian.gov.cn/">京ICP备18058810号</a></p>
    <p> 联系方式：qq:617116070    邮箱：617116070@qq.com </p>
<p>
    <a href="#">回到顶部</a>
</p>
</footer>


<script src="../js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../js/jquery.cookie.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/zscool.js"></script>
<script src="../js/user_personal_center.js"></script>

<script src="../js/host.js"></script>
<script src="../js/wow.min.js"></script>

// 头像预览
<script>
    $("#avatar_file").change(function () {
        // 获取上传文件对象
        var file = $(this)[0].files[0];
        // 读取文件URL
        var reader = new FileReader();
        reader.readAsDataURL(file);
        // 阅读文件完成后触发的事件
        reader.onload = function () {
            // 读取的URL结果：this.result
            $("#avatar_img").attr("src", this.result);
        }
    });
    $(function () {
        new WOW().init();
    })
</script>

</body>
</html>